<?php $this->_extends('_layouts/main_layout'); ?>
<?php $this->_block('title'); ?>
	Errors
<?php $this->_endblock(); ?>

<?php $this->_block('contents'); ?>

<input type="text" id="timeval" size="100"/>
<input type="button" id="timeconvertbtn" value="timeconvert" />

<script>
	$('#timeconvertbtn').click(function(){
		$.ajax({
			type: 'GET',
			url: '<?php echo url('dev/timeconvert'); ?>',
			data: {
				timeVal: $('#timeval').val()
			},
			success: function(data){
				$('#timeval').val(data);
			}
		});
	});
</script>

<?php $this->_endblock(); ?>